package com.lxw.nonghe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.AdministrativeRegion;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 行政区域表 服务类
 * </p>
 *
 * @author lxw
 * @since 2025-05-09
 */
public interface AdministrativeRegionService extends IService<AdministrativeRegion> {

    Page<AdministrativeRegion> getRegionPage(int current, int size, String regionName);

    AdministrativeRegion getRegionByName(String regionName);

    AdministrativeRegion getRegionByCode(String regionCode);

    Page<AdministrativeRegion> queryRegion(AdministrativeRegion queryRegion, int current, int size);
}
